package com.dtx.service;

import com.dtx.domain.Exam;

import java.util.List;

public interface IExamService {

    List<Exam> findAll(int page, int size) throws Exception;

    void save(Exam exam) throws Exception;

    void deleteExamById(Integer id) throws Exception;

    void update(Exam exam) throws Exception;

    Exam findById(Integer id) throws Exception;

    List<Exam> findExamByName(String name) throws Exception;
}
